# your_app_name/urls.py

from django.urls import path
from . import views

urlpatterns = [
    path('send-verification-code/', views.send_verification_code, name='send_verification_code'),  # 发送短信验证码
    path('send-email-code/', views.send_email_code, name='send_email_code'),  # 发送邮箱验证码
    path('upload-file/', views.upload_file, name='upload_file'),  # 上传文件到七牛
    path('register/', views.register, name='register'),  # 注册
    path('login/', views.login, name='login'),  # 登录
    path('user-info/', views.get_user_info, name='get_user_info'),  # 获取用户信息
    path('user-list/', views.get_user_list, name='get_user_list'),  # 获取用户列表
    path('update-user-info/', views.update_user_info, name='update_user_info'),  # 修改用户信息
    path('delete-user/', views.delete_user, name='delete_user'),  # 删除用户
    path('add-dictionary/', views.add_dictionary, name='add_dictionary'),  # 新增字典
    path('edit-dictionary/', views.edit_dictionary, name='edit_dictionary'),  # 编辑字典
    path('delete-dictionary/', views.delete_dictionary, name='delete_dictionary'),  # 删除字典
    path('get-dictionary-list/', views.get_dictionary_list, name='get_dictionary_list'),  # 获取字典列表
    path('add-classification/', views.add_classification, name='add_classification'),  # 新增分类
    path('edit-classification/', views.edit_classification, name='edit_classification'),  # 编辑分类
    path('delete-classification/', views.delete_classification, name='delete_classification'),  # 删除分类
    path('get-classification-list/', views.get_classification_list, name='get_classification_list'),  # 获取分类列表
    path('add-resource/', views.add_resource, name='add_resource'),  # 新增资源
    path('edit-resource/', views.edit_resource, name='edit_resource'),  # 编辑资源
    path('delete-resource/', views.delete_resource, name='delete_resource'),  # 删除资源
    path('get-resource-list/', views.get_resource_list, name='get_resource_list'),  # 获取资源列表
    path('add-article-blog/', views.add_article_blog, name='add_article_blog'),  # 新增文章博客
    path('edit-article-blog/', views.edit_article_blog, name='edit_article_blog'),  # 编辑文章博客
    path('delete-article-blog/', views.delete_article_blog, name='delete_article_blog'),  # 删除文章博客
    path('get-article-blog-list/', views.get_article_blog_list, name='get_article_blog_list'),  # 获取文章博客列表
    path('add-site-inclusion/', views.add_site_inclusion, name='add_site_inclusion'),  # 新增站点收录
    path('edit-site-inclusion/', views.edit_site_inclusion, name='edit_site_inclusion'),  # 编辑站点收录
    path('delete-site-inclusion/', views.delete_site_inclusion, name='delete_site_inclusion'),  # 删除站点收录
    path('get-site-inclusion-list/', views.get_site_inclusion_list, name='get_site_inclusion_list'),  # 获取站点收录列表
]
